﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gacn.ControleAlunos.Library.Entities;
using Gacn.ControleAlunos.Library.DataAccess;
using System.Data.SqlClient;
using System.Globalization;
using System.Data;

namespace Gacn.ControleAlunos.Library.Business
{
    public class TurmaCalendarioBiz
    {
        #region Get Methods
        public static List<TurmaCalendarioEntity> GetAllTurmaCalendarioEntity()
        {
            List<TurmaCalendarioEntity> turmasCalendario = new List<TurmaCalendarioEntity>();

            DataTable dt = TurmaCalendarioDataAccess.GetAllTurmaCalendarioEntity();

            //fazer o foreach
            
            return turmasCalendario;
        }
        #endregion

        #region Insert Methods
        public static Boolean NewTurmaCalendarioEntity(TurmaCalendarioEntity turma)
        {
            try
            {
                NewTurmaCalendarioEntity(turma);
                return TurmaCalendarioDataAccess.FinalizaNewTurmaCalendarioEntity();
            }
            catch
            {
                return false;
            }
        }
        #endregion
    }
}
